﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ProjetoComperio.WebServices.Entities
{
    [DataContract]
    public class Contribution
    {
        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 1)]
        public int ContributionID { get; set; }

        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 2)]
        public string Title { get; set; }

        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 3)]
        public string Description { get; set; }

        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 4)]
        public DateTime RegisterDate { get; set; }

        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 5)]
        public bool IsEvent { get; set; }
    }
}